#include "headfiles.h"

using namespace std;

int main(int argc, char **argv) {
    if (argc != 2) {
        cout << "Usage: " << argv[0] << " num" << endl;
        return 0;
    }

    int num = atoi(argv[1]);

    int result = Fibonacci(num);
    cout << "Recursive result = " << result << endl;

    result = FibonacciNonRecur(num);
    cout << "Non-Recursive result = " << result << endl;
    
    return 0;
}

